package com.ly.heart.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ly.common.core.domain.BaseVo;

import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 销售合同清单明细
 * </p>
 * @author WuZH
 * @since 2024-05-15
 */
@Getter
@Setter
@TableName ("erp_contract_warehouse_detail_info")
@ApiModel (value = "销售合同清单明细", description = "销售合同清单明细")
public class ContractWarehouseDetailEntity extends BaseVo {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty ("id")
    @TableId (value = "id", type = IdType.INPUT)
    private String id;

    @ApiModelProperty ("关联物料产品Id")
    @TableField ("material_id")
    private String materialId;

    @ApiModelProperty ("数量")
    @TableField ("number")
    private Integer number;

    @ApiModelProperty ("单价")
    @TableField ("unit_price")
    private String unitPrice;

    @ApiModelProperty ("小计")
    @TableField ("sum_price")
    private String sumPrice;

    @ApiModelProperty ("备注")
    @TableField ("remarks")
    private String remarks;

    @ApiModelProperty ("新增时间")
    @TableField ("create_time")
    private Date createTime;

    @ApiModelProperty ("更新时间")
    @TableField ("change_time")
    private Date changeTime;

    @TableField ("is_used")
    private Integer isUsed;


}
